@import '~ant-design-vue/es/style/themes/default.less';

.ant-pro-sider-menu-sider.fix-sider-bar .ant-menu-root {
  height: calc(100vh - 64px);
  overflow-y: auto;
  &::-webkit-scrollbar {width: 8px; height: 8px; background-color: #eee; }
  &::-webkit-scrollbar-track { background-color: #eee; }
  &::-webkit-scrollbar-thumb { border-radius:8px;background-color: #ccc; }
}
.diy-mbx .ant-breadcrumb-separator {
  color: white;
}
.diy-mbx .ant-breadcrumb-link {
  color: white;
  background-color: inherit; /* 如果你想要斜杠背景色也是白色，可以加上这行 */
}
.ant-pro-sider-menu-sider.light .ant-pro-sider-menu-logo {
  background: @primary-color;
  padding-left:0;
}
.ant-pro-global-header {
  background: @primary-color;
  color:#fff;
}
.ant-pro-basicLayout-content{
  margin:12px;
}
.ant-pro-grid-content{
  &.wide{
    max-width: none;
  }
}
.ant-layout-footer{
  padding:0;
}
.ant-pro-global-header-index-right {
  margin-right: 8px;

  &.ant-pro-global-header-index-dark {
    .ant-pro-global-header-index-action {
      color: hsla(0, 100%, 31%, 0.85);

      &:hover {
        background: #1890ff;
      }
    }
  }

  .ant-pro-account-avatar {
    .antd-pro-global-header-index-avatar {
      margin: ~'calc((@{layout-header-height} - 24px) / 2)' 0;
      margin-right: 8px;
      color: @primary-color;
      vertical-align: top;
      background: rgb(255 255 255 / 85%);
    }
  }

  .menu {
    .anticon {
      margin-right: 8px;
    }

    .ant-dropdown-menu-item {
      min-width: 100px;
    }
  }
}
